#import "../fragments/oncall_schedule_rotation_with_shifts.fragment.graphql"

query getShiftsForRotations($projectPath: ID!, $startsAt: Time!, $endsAt: Time!, $iids: [ID!]) {
  project(fullPath: $projectPath) {
    id
    incidentManagementOncallSchedules(iids: $iids) {
      nodes {
        rotations {
          nodes {
            ...OnCallRotationWithShifts
          }
        }
      }
    }
  }
}
